﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using PJ.Business.Partner;
using PJ.Framework.Common;
using PJ.Data.SalePurchase.Sale;

namespace PJ.Business.SalePurchase.Sale
{
    /// <summary>
    /// CustomerShoppingCartItemService class
    /// </summary>
    public class CustomerShoppingCartItemService : ShoppingCartItemService<ICustomerShoppingCartItem, ICustomerShoppingCartItemData, ICustomerShoppingCartItemProvider>, ICustomerShoppingCartItemService
    {
        public CustomerShoppingCartItemService()
            : base(InjectionBroker.Resolve < ICustomerShoppingCartItemProvider>())
        {
        }
        public CustomerShoppingCartItemService(ICustomerShoppingCartItemProvider dataService)
            : base(dataService)
        {
        }


        public override ICustomerShoppingCartItem CreateNewItem()
        {
            return new CustomerShoppingCartItem();
        }
    }
}
